org\wplake\acf_views\Common\Cpt\SaveActions B

Total Complexity 88
Dependencies 9
Dependents 1
Total lines 573
Lines of code 345
Logical lines of code 199
Comment lines 66
Methods 27
Properties 7

Methods 27

Method Rating Maintainability Complexity Lines of code
performSaveActions()
A
49 9 30
saveMetaField()
A
50 8 28
getAcfFieldFromInstance()
S
51 7 26
skipSavingToPostMeta()
S
54 6 24
isMyPost()
S
61 6 13
syncCode()
S
51 5 27
updateTranslationsFile()
S
52 5 24
getTranslationsFromMarkup()
S
47 3 42
loadFieldsFromPostContent()
S
56 4 18
customValidation()
S
62 4 13
validateWebComponentSetting()
S
60 4 13
catchFieldValue()
S
62 4 11
validateCustomMarkup()
S
60 3 15
setHooks()
S
62 3 11
getAcfAjaxPostId()
S
67 3 8
maybeSetUniqueId()
S
62 2 11
saveValidationInstanceToStorage()
S
71 2 6
__construct()
S
65 1 9
saveCaughtFields()
S
77 1 4
loadValidationDataInstanceFromCurrentValues()
S
75 1 4
getCptName()
S
100 1 0
addValidationError()
S
74 1 4
updateMarkup()
S
100 1 0
makeValidationInstance()
S
100 1 0
getCustomMarkupAcfFieldName()
S
100 1 0
getTranslatableLabels()
S
100 1 0
validateSubmission()
S
78 1 4